/*
 * Copyright (c) 2002-2003 by OpenSymphony
 * All rights reserved.
 */
package com.opensymphony.user.provider.hibernate3.ahxu.entity;

import java.util.List;
import java.util.Set;


/**
 * DOCUMENT ME!
 *
 * @author $author$
 * @version $Revision: 1.2 $
 */
public interface HibernateGroup {
    //~ Methods ////////////////////////////////////////////////////////////////

    public void setId(long id);

    public long getId();

    public void setName(String name);

    public String getName();

    List getUserList();

    List getUserNameList();

    void setUsers(Set users);

    Set getUsers();

    void addUser(HibernateUser user);

    boolean removeUser(HibernateUser user);

    boolean removeUser(String username);
}
